WASTED Modding Documentation  1
ModdingDocumentation
Load Order

The order in which mods are loaded can affect how mods behave ingame. In order to control the order in which mods are loaded, a file called "load_order.cfg" is read when the modding system first boots up.

Each line of the load_order file corresponds to a folder name in the Mods directory, with blank lines representing the "default" load order (basically, when any mods not specifically listed in the load_order file get loaded)

Here is an example load_order file:

FirstMod
SecondMod

SecondToLastMod
LastMod

In the above example, FirstMod is loaded first, SecondMod is loaded second. After SecondMod is loaded, all other mods not listed in the file are loaded. Once those mods have finished loading, SecondToLastMod is loaded, and finally LastMod.

Similarly, each mod folder itself can have a "load_order.cfg" file, which dictates the order the .wmd files are loaded. This file should be placed in the mod folder, alongside any .wmd script files.

The filenames listed in a mod's load_order file should not have their file extensions (for instance, "ModScript.wmd" should be listed as "ModScript").